<div id="login-form">

<h1>Ingresar</h1>

<?php if(isset($error)) echo $error; ?>
<form id="login" action="<?php echo url_for('login/index'); ?>" method="post">
<input type="hidden" name="sf_method" value="put" />
<?php echo $form->renderHiddenFields(false) ?>

	<table>
		<tr>
			<td>Correo</td>
			<td><?php echo $form['correo'] ?></td>
		</tr>
		
		<tr>
			<td></td>
			<td><?php echo $form['correo']->renderError() ?></td>
		</tr>
		
		<tr>
			<td>Contraseña</td>
			<td><?php echo $form['contrasena'] ?></td>
		</tr>
		
		<tr>
			<td></td>
			<td><?php echo $form['contrasena']->renderError() ?></td>
		</tr>
		
		<tr>
			<td></td>
			<td><input type="submit" value="Ingresar"></td>
			<td></td>
		</tr>
		
	</table>

<div id="login-form-options">
	<a href="#">Recuperar Contraseña</a> |
	<a href="#">Contactar al Administrador</a>
</div>
</form>

</div>